<!DOCTYPE html>
<html>
	<head>
	    <meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
		<link rel="stylesheet" href="$!rc.contextPath/common/common.css">
		<link rel="stylesheet" href="//at.alicdn.com/t/font_604979_lo1649bt4gm5z5mi.css" />
		<link rel="stylesheet" href="$!rc.contextPath/css/personal.css">
		<title>个人中心</title>
	</head>
	<body>
	<div class="title text-center">
		<a onClick="javascript:window.history.go(-1)"><</a>
		个人中心
	</div>
	<div id="header">
		<div class="person-con">
			<div class="avtar">
				<img src="$!head" alt="" />
			</div>
			<div class="person-detail">
				<div class="person-title">
					$!member.memberNick
				</div>
				<div class="person-login">
					#if($!member.memberType == '1')
						<span style="color: silver;">银卡会员</span>
					#elseif($!member.memberType == '2')
						<span style="color: gold;">金卡会员</span>
					#else
						普通会员
					#end
				</div>
			</div>
		</div>
		<div class="balance">
			<div class="balance-item" onclick="javascript:window.location.href='$!rc.contextPath/memberView/income'">
				<div class="money">
					<span class="yen">￥</span>
					<span class="price-num">$!member.availableBalance</span>
				</div>
				<span>可用余额</span>
			</div>
			<div class="balance-item" onclick="javascript:window.location.href='$!rc.contextPath/memberView/score'">
				<p>$!member.integral</p>
				<p>积分</p>
			</div>
		</div>
	</div>
	<ul class="href-list">
		<li class="href-item" onclick="window.location.href='$!rc.contextPath/orderView/withdraw'">
			<div class="item-left">
				<i class="iconfont icon-tixian" style="color:#f24537"></i>
				<span>提现</span>
			</div>
			<div class="item-right">
				<i class="iconfont icon-arrow-right-copy-copy-copy"></i>
			</div>
		</li>
		<li class="href-item" onclick="window.location.href='$!rc.contextPath/orderView/list'">
			<div class="item-left">
				<i class="iconfont icon-dingdan" style="color:#7ab4fd"></i>
				<span>我的订单</span>
			</div>
			<div class="item-right">
				<i class="iconfont icon-arrow-right-copy-copy-copy"></i>
			</div>
		</li>
		<li class="href-item"  onclick="window.location.href='$!rc.contextPath/memberView/address'">
			<div class="item-left">
				<i class="iconfont icon-dizhiguanli" style="color:#31d576"></i>
				<span>地址管理</span>
			</div>
			<div class="item-right">
				<i class="iconfont icon-arrow-right-copy-copy-copy"></i>
			</div>
		</li>
		<li class="href-item" onclick="window.location.href='$!rc.contextPath/memberView/collect'">
			<div class="item-left">
				<i class="iconfont icon-shoucang" style="color:#f34e4c"></i>
				<span>我的收藏</span>
			</div>
			<div class="item-right">
				<i class="iconfont icon-arrow-right-copy-copy-copy"></i>
			</div>
		</li>
		#if($!store)
		<li class="href-item"  onclick="window.location.href='$!rc.contextPath/memberView/saleCount'">
			<div class="item-left">
				<i class="iconfont icon-tongji" style="color:#31d576"></i>
				<span>业绩统计</span>
			</div>
			<div class="item-right">
				<i class="iconfont icon-arrow-right-copy-copy-copy"></i>
			</div>
		</li>
		<li class="href-item" onclick="window.location.href='$!rc.contextPath/memberView/lowerList'">
			<div class="item-left">
				<i class="iconfont icon-yonghu" style="color:#f34e4c"></i>
				<span>发展用户</span>
			</div>
			<div class="item-right">
				<i class="iconfont icon-arrow-right-copy-copy-copy"></i>
			</div>
		</li>
		<li class="href-item" onclick="window.location.href='$!rc.contextPath/orderView/saleOrderList'">
			<div class="item-left">
				<i class="iconfont icon-xiaoshou" style="color:#d6b32c"></i>
				<span>销售订单</span>
			</div>
			<div class="item-right">
				<i class="iconfont icon-arrow-right-copy-copy-copy"></i>
			</div>
		</li>
		
		<li class="href-item" onclick="window.location.href='$!rc.contextPath/memberView/share'">
			<div class="item-left">
				<i class="iconfont icon-erweima" style="color:#c1d1e0"></i>
				<span>我的分享二维码</span>
			</div>
			<div class="item-right">
				<i class="iconfont icon-arrow-right-copy-copy-copy"></i>
			</div>
		</li>
		#end
	</ul>
	<div id="ajaxNav">
	#parse("index-tab.html")
	</div>
	</body>
	<script src="$!rc.contextPath/common/jquery-1.8.3.min.js"></script>
	<script type="text/javascript">
		$(function(){
			$(".nav-tabbar__item").eq(3).addClass("nav-tabbar__item--on");
		})
	</script>
</html>
